package com.example.xuyuli.service.impl;

import com.example.xuyuli.entity.User;
import com.example.xuyuli.repository.impl.UserRepositoryimpl;
import com.example.xuyuli.service.LoginService;

public class LoginServiceimpl implements LoginService {
    private UserRepositoryimpl userRepositoryimpl = new UserRepositoryimpl();
    public User login(String name,String password){
        return userRepositoryimpl.login(name,password);
    }
}
